<!DOCTYPE html><html class="theme-next muse use-motion" lang="zh-CN"><head><meta name="generator" content="Hexo 3.8.0"><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2"><meta name="theme-color" content="#222"><script src="//fastly.jsdelivr.net/npm/pace-js@1.0.2/pace.min.js"></script><link href="/lib/pace/pace-theme-corner-indicator.min.css?v=1.0.2" rel="stylesheet"><meta name="google-site-verification" content="sDeZZSmv4NPbU3sXi1IL5l8PiZt1wVqR5EKUsxOjruY"><link href="https://fastly.jsdelivr.net/npm/@fancyapps/fancybox@3.2.5/dist/jquery.fancybox.min.css" rel="stylesheet" type="text/css"><link href="https://fonts.geekzu.org/css?family=Noto Serif SC:300,300italic,400,400italic,700,700italic|Noto Serif SC:300,300italic,400,400italic,700,700italic|Roboto Mono:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css"><link href="//fastly.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"><link href="/css/main.css?v=6.6.0" rel="stylesheet" type="text/css"><link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=6.6.0"><link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=6.6.0"><link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=6.6.0"><link rel="mask-icon" href="/images/logo.svg?v=6.6.0" color="#222"><script id="hexo.configurations">var NexT=window.NexT||{},CONFIG={root:"/",scheme:"Muse",version:"6.6.0",sidebar:{position:"left",display:"hide",offset:12,b2t:!1,scrollpercent:!0,onmobile:!0},fancybox:!0,fastclick:!1,lazyload:!1,tabs:!0,motion:{enable:!0,async:!1,transition:{post_block:"fadeIn",post_header:"slideDownIn",post_body:"slideDownIn",coll_header:"slideLeftIn",sidebar:"slideUpIn"}},algolia:{applicationID:"",apiKey:"",indexName:"",hits:{per_page:10},labels:{input_placeholder:"Search for Posts",hits_empty:"We didn't find any results for the search: ${query}",hits_stats:"${hits} results found in ${time} ms"}}}</script><meta name="description" content="Ventura安装常见问题强烈建议您没有在生产力设备上安装Beta版软件，从而覆盖了所有稳定的发行版。Beta版软件可能会造成无法挽回的硬件损坏或无法挽回的数据丢失，应自行承担使用风险。对于使用预发行软件或非官方支持补丁引起的任何潜在损坏或数据丢失，Apple和所有补丁开发者概不负责。请您自己承担风险使用。 我应该使用OpenCore还是Clover截止到目前为止，无论是OpenCore还是Cl"><meta name="keywords" content="安装,常见问题,13,Ventura"><meta property="og:type" content="article"><meta property="og:title" content="macOS Ventura 13.0安装中常见的问题及解决方法"><meta property="og:url" content="https://blog.daliansky.net/Common-problems-and-solutions-in-macOS-Ventura-13.0-installation.html"><meta property="og:site_name" content="黑果小兵的部落阁"><meta property="og:description" content="Ventura安装常见问题强烈建议您没有在生产力设备上安装Beta版软件，从而覆盖了所有稳定的发行版。Beta版软件可能会造成无法挽回的硬件损坏或无法挽回的数据丢失，应自行承担使用风险。对于使用预发行软件或非官方支持补丁引起的任何潜在损坏或数据丢失，Apple和所有补丁开发者概不负责。请您自己承担风险使用。 我应该使用OpenCore还是Clover截止到目前为止，无论是OpenCore还是Cl"><meta property="og:locale" content="zh-CN"><meta property="og:image" content="https://pan2.daliansky.net/d/blog2/12.0/21A559_iMac.png"><meta property="og:image" content="https://pan2.daliansky.net/d/blog2/WeChat/StayUpLate.png"><meta property="og:image" content="https://pan2.daliansky.net/d/blog2/12.0/BlueToolFixup.png"><meta property="og:image" content="https://pan2.daliansky.net/d/blog2/11.0/UEFIShell3.png"><meta property="og:image" content="https://pan2.daliansky.net/d/blog2/11.0/boot-args.png"><meta property="og:image" content="https://pan2.daliansky.net/d/blog2/11.0/SyncRuntimePermissions.jpg"><meta property="og:updated_time" content="2022-11-10T06:07:00.858Z"><meta name="twitter:card" content="summary"><meta name="twitter:title" content="macOS Ventura 13.0安装中常见的问题及解决方法"><meta name="twitter:description" content="Ventura安装常见问题强烈建议您没有在生产力设备上安装Beta版软件，从而覆盖了所有稳定的发行版。Beta版软件可能会造成无法挽回的硬件损坏或无法挽回的数据丢失，应自行承担使用风险。对于使用预发行软件或非官方支持补丁引起的任何潜在损坏或数据丢失，Apple和所有补丁开发者概不负责。请您自己承担风险使用。 我应该使用OpenCore还是Clover截止到目前为止，无论是OpenCore还是Cl"><meta name="twitter:image" content="https://pan2.daliansky.net/d/blog2/12.0/21A559_iMac.png"><link rel="alternate" href="/atom.xml" title="黑果小兵的部落阁" type="application/atom+xml"><link rel="canonical" href="https://blog.daliansky.net/Common-problems-and-solutions-in-macOS-Ventura-13.0-installation.html"><script id="page.configurations">CONFIG.page={sidebar:""}</script><title>macOS Ventura 13.0安装中常见的问题及解决方法 | 黑果小兵的部落阁</title><noscript><style>.sidebar-inner,.use-motion .brand,.use-motion .collection-title,.use-motion .comments,.use-motion .menu-item,.use-motion .motion-element,.use-motion .pagination,.use-motion .post-block,.use-motion .post-body,.use-motion .post-header{opacity:initial}.use-motion .logo,.use-motion .site-subtitle,.use-motion .site-title{opacity:initial;top:initial}.use-motion .logo-line-before i{left:initial}.use-motion .logo-line-after i{right:initial}</style></noscript></head><body itemscope itemtype="http://schema.org/WebPage" lang="zh-CN"><div class="container sidebar-position-left page-post-detail"><div class="headband"></div><header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="header-inner"><div class="site-brand-wrapper"><div class="site-meta"><div class="custom-logo-site-title"><a href="/" class="brand" rel="start"><span class="logo-line-before"><i></i></span> <span class="site-title">黑果小兵的部落阁</span> <span class="logo-line-after"><i></i></span></a></div><p class="site-subtitle">Hackintosh安装镜像、教程及经验分享</p></div><div class="site-nav-toggle"><button aria-label="切换导航栏"><span class="btn-bar"></span> <span class="btn-bar"></span> <span class="btn-bar"></span></button></div></div><nav class="site-nav"><ul id="menu" class="menu"><li class="menu-item menu-item-home"><a href="/" rel="section"><i class="menu-item-icon fa fa-fw fa-home"></i><br>首页</a></li><li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="menu-item-icon fa fa-fw fa-archive"></i><br>归档</a></li><li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="menu-item-icon fa fa-fw fa-th"></i><br>分类</a></li><li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="menu-item-icon fa fa-fw fa-tags"></i><br>标签</a></li><li class="menu-item menu-item-about"><a href="/about/" rel="section"><i class="menu-item-icon fa fa-fw fa-user"></i><br>关于</a></li><li class="menu-item menu-item-search"><a href="javascript:;" class="popup-trigger"><i class="menu-item-icon fa fa-search fa-fw"></i><br>搜索</a></li></ul><div class="site-search"><div class="popup search-popup local-search-popup"><div class="local-search-header clearfix"><span class="search-icon"><i class="fa fa-search"></i> </span><span class="popup-btn-close"><i class="fa fa-times-circle"></i></span><div class="local-search-input-wrapper"><input autocomplete="off" placeholder="搜索..." spellcheck="false" type="text" id="local-search-input"></div></div><div id="local-search-result"></div></div></div></nav></div></header><a href="https://github.com/daliansky" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewbox="0 0 250 250" style="fill:#222;color:#fff;position:absolute;top:0;border:0;right:0" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"/><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin:130px 106px" class="octo-arm"/><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"/></svg></a><main id="main" class="main"><div class="main-inner"><div class="content-wrap"><div id="content" class="content"><div id="posts" class="posts-expand"><div class="reading-progress-bar"></div><article class="post post-type-normal" itemscope itemtype="http://schema.org/Article"><div class="post-block"><link itemprop="mainEntityOfPage" href="https://blog.daliansky.net/Common-problems-and-solutions-in-macOS-Ventura-13.0-installation.html"><span hidden itemprop="author" itemscope itemtype="http://schema.org/Person"><meta itemprop="name" content="黑果小兵"><meta itemprop="description" content="黑果小兵,daliansky,blog.daliansky.net,macOS,Hackintosh,黑苹果,linux"><meta itemprop="image" content="/images/avatar.png"></span><span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization"><meta itemprop="name" content="黑果小兵的部落阁"></span><header class="post-header"><h1 class="post-title" itemprop="name headline">macOS Ventura 13.0安装中常见的问题及解决方法</h1><div class="post-meta"><span class="post-time"><span class="post-meta-item-icon"><i class="fa fa-calendar-o"></i> </span><time title="创建时间：2022-06-08 13:00:00" itemprop="dateCreated datePublished" datetime="2022-06-08T13:00:00+08:00">2022-06-08</time> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"><i class="fa fa-calendar-check-o"></i> </span><time title="修改时间：2022-11-10 14:07:00" itemprop="dateModified" datetime="2022-11-10T14:07:00+08:00">2022-11-10</time> </span><span class="post-category"><span class="post-meta-divider">|</span> <span class="post-meta-item-icon"><i class="fa fa-folder-o"></i> </span><span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/教程/" itemprop="url" rel="index"><span itemprop="name">教程</span></a></span> </span><span class="post-meta-divider">|</span> <span class="post-meta-item-icon" title="阅读次数"><i class="fa fa-eye"></i> <span class="busuanzi-value" id="busuanzi_value_page_pv"></span></span><div class="post-symbolscount"><span class="post-meta-item-icon"><i class="fa fa-file-word-o"></i> </span><span title="本文字数">6.8k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"><i class="fa fa-clock-o"></i> </span><span title="阅读时长">12 分钟</span></div></div></header><div class="post-body" itemprop="articleBody"><div><div><div class="post-gallery"></div></div></div><h1 id="ventura安装常见问题"><a class="markdownIt-Anchor" href="#ventura安装常见问题"></a> Ventura安装常见问题</h1><blockquote><p><em>强烈建议</em>您没有在生产力设备上安装Beta版软件，从而覆盖了所有稳定的发行版。Beta版软件可能会造成无法挽回的硬件损坏或无法挽回的数据丢失，应自行承担使用风险。</p><p><em>对于使用预发行软件或非官方支持补丁引起的任何潜在损坏或数据丢失，Apple和所有补丁开发者概不负责。请您自己承担风险使用。</em></p></blockquote><p><img src="https://pan2.daliansky.net/d/blog2/12.0/21A559_iMac.png" alt="Ventura Desktop"></p><h2 id="我应该使用opencore还是clover"><a class="markdownIt-Anchor" href="#我应该使用opencore还是clover"></a> 我应该使用<code>OpenCore</code>还是<code>Clover</code></h2><p>截止到目前为止，无论是<code>OpenCore</code>还是<code>Clover</code>，都已经支持<code>Ventura</code>安装使用了</p><ul><li>OpenCore <code>v0.8.5</code> <a href="https://github.com/acidanthera/OpenCorePkg/releases" target="_blank" rel="noopener">下载</a><ul><li>OCAT <a href="https://github.com/ic005k/QtOpenCoreConfig/releases" target="_blank" rel="noopener">下载</a></li></ul></li><li>Clover <code>v5148</code> <a href="https://github.com/CloverHackyColor/CloverBootloader/releases" target="_blank" rel="noopener">下载</a><ul><li>Clover Configurator <code>v5.18.3.0</code> <a href="https://mackie100projects.altervista.org/" target="_blank" rel="noopener">下载</a></li></ul></li></ul><h2 id="我可以直接在线升级吗"><a class="markdownIt-Anchor" href="#我可以直接在线升级吗"></a> 我可以直接在线升级吗</h2><p>小兵给您的建议是：现在的<code>Ventura</code>不建议小白直接在线更新；比较稳妥的方法是在现在的磁盘上切一个单独的分区进行安装测试</p><h2 id="如何保证顺利升级-ventura-正式版"><a class="markdownIt-Anchor" href="#如何保证顺利升级-ventura-正式版"></a> 如何保证顺利升级 <code>Ventura</code> 正式版</h2><ul><li>请使用OpenCore <code>v0.8.5</code> <a href="https://github.com/acidanthera/OpenCorePkg/releases" target="_blank" rel="noopener">下载</a> / Clover <code>v5148</code> <a href="https://github.com/CloverHackyColor/CloverBootloader/releases" target="_blank" rel="noopener">下载</a></li><li>请于<code>boot-args</code>中添加引导参数：<code>vsmcgen=1</code>，<ul><li>可能还需要其它引导参数：<code>-lilubetaall</code> <code>vsmcbeta</code></li><li><code>DW1820A</code> / <code>DW1560</code> / <code>DW1830</code>等博通网卡可能还需要添加：<code>brcmfx-aspm</code></li></ul></li></ul><p><img src="https://pan2.daliansky.net/d/blog2/WeChat/StayUpLate.png" alt="温馨提醒"></p><h2 id="amd-6000-系列显卡当前-macos-状态"><a class="markdownIt-Anchor" href="#amd-6000-系列显卡当前-macos-状态"></a> AMD 6000 系列显卡当前 macOS 状态：</h2><ul><li>在 macOS 上工作的显卡<ul><li>Family Navi21：<code>6800</code> / <code>6800XT</code> / <code>6900XT</code> / <code>6950XT</code>（自 Big Sur 11.4 起）</li><li>Family Navi23：<code>6600</code> / <code>6600XT</code> / <code>6600M</code> / <code>6600S</code> / <code>6650M</code> / <code>6650XT</code> / <code>6700S</code> / <code>6800S</code>（自 Monterey 12.1 起）</li></ul></li><li>不适用于 macOS<ul><li>Family Navi22：<code>6700M</code> / <code>6700XT</code> / <code>6750XT</code> / <code>6800M</code> / <code>6850M XT</code></li><li>Family Navi24：<code>6400</code> / <code>6500</code> 和 <code>6500XT</code></li></ul></li></ul><h2 id="安装程序进入-recovery-install-macos-ventura-灰屏只出现一个鼠标的解决方法"><a class="markdownIt-Anchor" href="#安装程序进入-recovery-install-macos-ventura-灰屏只出现一个鼠标的解决方法"></a> 安装程序进入 <code>Recovery</code> / <code>Install macOS Ventura</code> 灰屏，只出现一个鼠标的解决方法</h2><p>修改 <code>config.plist</code>，<code>Nvram</code> -&gt; <code>7C436110-AB2A-4BBB-A880-FE41995C9F82</code> -&gt; <code>prev-lang:kbd</code> -&gt; <code>en-US:0</code>，原来的参数有可能为空了导致的；重启后执行 <code>reset NVRAM</code> 的动作后就可以正常进入安装界面了</p><h2 id="intel-i225-v-驱动方法"><a class="markdownIt-Anchor" href="#intel-i225-v-驱动方法"></a> <code>Intel</code> <code>I225-V</code> 驱动方法</h2><p>Monterey提取驱动：位置 <code>/System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns</code>，复制 <code>AppleIntelI210Ethernet.kext</code> 到 <code>/EFI/OC/Kexts</code>，然后配置文件里加载它，收工。</p><h2 id="如何正确驱动-intel-broadcom-蓝牙设备"><a class="markdownIt-Anchor" href="#如何正确驱动-intel-broadcom-蓝牙设备"></a> 如何正确驱动 <code>Intel</code> / <code>Broadcom</code> 蓝牙设备</h2><ul><li><p>下载：<a href="https://github.com/acidanthera/BrcmPatchRAM/releases" target="_blank" rel="noopener">BrcmPatchRAM-2.6.4-RELEASE.zip</a></p></li><li><p>在配置文件 <code>config.plist</code> 中添加<code>BlueToolFixup.kext</code> 驱动，做好内核版本控制，如下图所示：</p><p><img src="https://pan2.daliansky.net/d/blog2/12.0/BlueToolFixup.png" alt="BlueToolFixup"></p></li></ul><h2 id="蓝牙被禁用无须开机只需要一条命令即可起死回生"><a class="markdownIt-Anchor" href="#蓝牙被禁用无须开机只需要一条命令即可起死回生"></a> 蓝牙被禁用，无须开机，只需要一条命令即可起死回生</h2><p>打开终端，输入命令：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo pkill bluetoothd</span><br></pre></td></tr></table></figure><h2 id="蓝牙连接耳机直接断开"><a class="markdownIt-Anchor" href="#蓝牙连接耳机直接断开"></a> 蓝牙连接耳机直接断开</h2><p>打开终端，输入命令：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">defaults write com.apple.BluetoothAudioAgent <span class="string">"Apple Bitpool Min (editable)"</span> 35</span><br><span class="line">defaults write com.apple.BluetoothAudioAgent <span class="string">"Apple Initial Bitpool Min (editable)"</span> 53</span><br><span class="line">defaults write com.apple.BluetoothAudioAgent <span class="string">"Apple Initial Bitpool (editable)"</span> 35</span><br></pre></td></tr></table></figure><p>重启，重新连接蓝牙耳机即可恢复正常</p><h2 id="如何重置网络设备以解决app-store无法登录的问题"><a class="markdownIt-Anchor" href="#如何重置网络设备以解决app-store无法登录的问题"></a> 如何重置网络设备，以解决<code>App Store</code>无法登录的问题</h2><p>打开终端，输入命令：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ sudo rm -rf /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist*</span><br></pre></td></tr></table></figure><p>输入用户密码，然后回车，不必理会提示信息，然后重启</p><p>现在你就可以正确登入<code>App Store</code>并且可以下载应用了</p><h2 id="如何正确重置nvram以解决app-store无法登录的问题"><a class="markdownIt-Anchor" href="#如何正确重置nvram以解决app-store无法登录的问题"></a> 如何正确重置<code>NVRAM</code>，以解决<code>App Store</code>无法登录的问题</h2><p>打开终端，输入命令：</p><figure class="highlight sh"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># sudo nvram -c</span></span><br><span class="line">Password:</span><br><span class="line">nvram: Error clearing firmware variables: (iokit/common) not permitted</span><br></pre></td></tr></table></figure><p>输入用户密码，然后回车，不必理会提示信息，然后重启</p><h2 id="无法更新到较新版本的-ventura"><a class="markdownIt-Anchor" href="#无法更新到较新版本的-ventura"></a> 无法更新到较新版本的 <code>Ventura</code></h2><p>打开 <code>config.plist</code> 配置文件，</p><ul><li><code>Misc</code> -&gt; <code>Security</code> -&gt; <code>DmgLoading</code> -&gt; <code>Signed</code></li><li><code>Misc</code> -&gt; <code>Security</code> -&gt; <code>SecureBootModel</code> -&gt; <code>Default</code></li><li><code>NVRAM</code> -&gt; <code>Add</code> -&gt; <code>7C436110-AB2A-4BBB-A880-FE41995C9F82</code> -&gt; <code>csr-active-config</code> : <code>Data</code> : <code>00000000</code></li></ul><p>重启，执行 <code>reset NVRAM</code> 操作即可；</p><p>再不行执行如下操作：</p><ul><li>打开终端，输入命令：</li></ul><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># Unenroll from beta catalog</span></span><br><span class="line">sudo /System/Library/PrivateFrameworks/Seeding.framework/Resources/seedutil unenroll</span><br><span class="line"><span class="comment"># Enroll back in</span></span><br><span class="line">sudo /System/Library/PrivateFrameworks/Seeding.framework/Resources/seedutil enroll DeveloperSeed</span><br><span class="line"><span class="comment"># List software updates via terminal</span></span><br><span class="line">softwareupdate -l</span><br></pre></td></tr></table></figure><h2 id="如何防止-opencore-变量注入进-windows"><a class="markdownIt-Anchor" href="#如何防止-opencore-变量注入进-windows"></a> 如何防止 <code>OpenCore</code> 变量注入进 <code>Windows</code></h2><p>打开 <code>config.plist</code> 配置文件，</p><ul><li><code>Kernel -&gt; Quirks</code><ul><li>[x] 勾选 <code>CustomSMBIOSGuid</code></li></ul></li><li><code>PI -&gt; Generic</code><ul><li><code>UpdateSMBIOSMode</code> -&gt; <code>Custom</code></li></ul></li></ul><p>保存退出</p><h2 id="如何通过uefi-shell添加uefi引导的正确姿势"><a class="markdownIt-Anchor" href="#如何通过uefi-shell添加uefi引导的正确姿势"></a> 如何通过<code>UEFI SHELL</code>添加<code>UEFI</code>引导的正确姿势</h2><p>无论是<code>Clover</code>还是<code>OpenCore</code>，经常会遇到的问题是：重置了<code>NVRAM</code>后就会导致<code>UEFI</code>引导项的丢失。正确的、最简单的插入姿势就是：进入<code>UEFI SHELL</code> (CLOVER)或者<code>Open Shell</code>(OpenCore)，然后查看<code>EFI</code>所在的<code>fsV</code></p><p>假如你的是<code>fs0</code>，那么如何判断<code>fs0</code>目录下面就是<code>EFI</code>呢，可以这样验证：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line">Shell&gt; ls fs0:</span><br><span class="line">如果显示有`EFI`的目录，那么就继续执行</span><br><span class="line">Shell&gt; ls fs0:\efi</span><br><span class="line">显示`BOOT`和`OC`或者`BOOT`和`CLOVER`目录，那么可以确定这是你需要操作的位置</span><br><span class="line">Shell&gt; bcfg boot add 0 fs0:\efi\oc\opencore.efi <span class="string">"OpenCore Bootloader"</span></span><br><span class="line">这是添加`OC`的引导项命令</span><br><span class="line">Shell&gt; bcfg boot add 0 fs0:\efi\clover\cloverx64.efi <span class="string">"Clover Bootloader"</span></span><br><span class="line">这是添加`CLOVER`的引导项命令</span><br><span class="line">Shell&gt; <span class="built_in">exit</span></span><br><span class="line">退出`UEFI Shell`</span><br></pre></td></tr></table></figure><p>UEFI SHELL其它的用法请谷歌</p><p><img src="https://pan2.daliansky.net/d/blog2/11.0/UEFIShell3.png" alt="UEFI SHELL"></p><h2 id="使用opencore-configurator添加boot-args引导参数的详细步骤"><a class="markdownIt-Anchor" href="#使用opencore-configurator添加boot-args引导参数的详细步骤"></a> 使用<code>OpenCore Configurator</code>添加<code>boot-args</code>引导参数的详细步骤</h2><p>经常在群里看到很多小白问道如何添加<code>boot-args</code>引导参数，现做截图说明</p><blockquote><p>想成功安装新发布的系统，建议添加的第一个引导参数为： <code>-lilubetaall</code> 以加载所有的基于 <code>lilu</code> 的插件</p></blockquote><p><img src="https://pan2.daliansky.net/d/blog2/11.0/boot-args.png" alt="boot-args"></p><h2 id="如何引导进入ventura的recovery分区"><a class="markdownIt-Anchor" href="#如何引导进入ventura的recovery分区"></a> 如何引导进入<code>Ventura</code>的<code>Recovery</code>分区</h2><p><code>OpenCore</code>配置文件中勾选</p><ul><li>[x] <code>UEFI</code> -&gt; <code>APFS</code> -&gt; <code>JumpstartHotPlug</code></li></ul><h2 id="bios未禁用cfg-lock选项的设置"><a class="markdownIt-Anchor" href="#bios未禁用cfg-lock选项的设置"></a> <code>BIOS</code>未禁用<code>CFG LOCK</code>选项的设置</h2><p>相关错误信息：</p><ul><li><strong>卡在 <code>[EB|#LOG:EXITBS:START]</code></strong></li></ul><blockquote><p>某些用户会忘记或无法禁用BIOS中的CFG-Lock（特别是与用于电源管理的锁定0xE2 MSR位有关，显然更安全地关闭CFG-Lock）。**请注意，这仅适用于Intel用户，不适用于AMD。**发生这种情况时，有几个可能的解决方法：</p></blockquote><p>打开<code>OpenCore</code>的配置文件<code>config.plist</code>，勾选如下三个选项：</p><ul><li><p><code>Kernel</code> -&gt; <code>Quirks</code></p><ul><li>[x] <code>AppleCpuPmCfgLock</code></li><li>[x] <code>AppleXcpmCfgLock</code></li></ul></li><li><p><code>UEFI</code> -&gt; <code>Quirks</code></p><ul><li>[x] <code>IgnoreInvalidFlexRatio</code></li></ul></li></ul><h2 id="开机卡在apfs_module_start-1689-load-comapplefilesystemsapfs-v14121011-apfs-1412-1011-附近"><a class="markdownIt-Anchor" href="#开机卡在apfs_module_start-1689-load-comapplefilesystemsapfs-v14121011-apfs-1412-1011-附近"></a> 开机卡在apfs_module_start: 1689: load: com.apple.filesystems.apfs, v1412.101.1, apfs-1412. 101.1 附近</h2><p>解决方法：</p><p>打开配置文件：<code>config.plist</code> -&gt; <code>UEFI-UEFI设置</code></p><ul><li>[x] <code>ReleaseUsbOwnership</code></li></ul><h2 id="bios重设或重启关机后发送到安全模式"><a class="markdownIt-Anchor" href="#bios重设或重启关机后发送到安全模式"></a> <strong>BIOS重设或重启/关机后发送到安全模式</strong></h2><p>AppleRTC的问题，很简单的解决方法：</p><ul><li>打开配置文件：<code>config.plist</code><ul><li>[x] <code>Kernel</code> -&gt; <code>Quirks</code> -&gt; <code>DisableRtcChecksum</code></li></ul></li></ul><p><strong>注意</strong>：如果仍然有问题，则需要使用<code>RTCMemoryFixup.kext</code>并排除范围。</p><h2 id="双系统使用opencore引导启动windows出现蓝屏的解决方法"><a class="markdownIt-Anchor" href="#双系统使用opencore引导启动windows出现蓝屏的解决方法"></a> 双系统使用<code>OpenCore</code>引导启动<code>Windows</code>出现蓝屏的解决方法</h2><p><img src="https://pan2.daliansky.net/d/blog2/11.0/SyncRuntimePermissions.jpg" alt="SyncRuntimePermissions"></p><h2 id="无法在macos-ventura上启动或安装parallels-desktop"><a class="markdownIt-Anchor" href="#无法在macos-ventura上启动或安装parallels-desktop"></a> 无法在macOS Ventura上启动或安装<code>Parallels Desktop</code></h2><blockquote><p>请移步：<a href="https://github.com/QiuChenly/Parallels/blob/main/readme-zh.md" target="_blank" rel="noopener">这里</a></p></blockquote><ul><li>如果已经安装了Parallels Desktop，则临时解决方法是运行Parallels Desktop，如下所示：</li></ul><ol><li><p>打开 <strong>终端</strong> （<strong>Finder</strong> &gt; <strong>应用程序</strong> &gt; <strong>实用程序</strong> &gt; <strong>Terminal</strong>）。</p></li><li><p>执行以下命令：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">export</span> SYSTEM_VERSION_COMPAT=1</span><br><span class="line">open -a <span class="string">"Parallels Desktop"</span></span><br></pre></td></tr></table></figure></li></ol><ul><li>如果Parallels Desktop安装失败，请执行以下操作：</li></ul><ol><li><p>如果已安装Parallels Desktop App Store Edition，则将其<a href="https://kb.parallels.com/en/123802" target="_blank" rel="noopener">卸载</a>。</p></li><li><p><a href="https://www.parallels.com/directdownload/pd15" target="_blank" rel="noopener">下载Parallels Desktop 15</a>安装文件。其他Parallels Desktop版本可在<a href="https://www.parallels.com/products/desktop/download15/" target="_blank" rel="noopener">此处</a>下载</p></li><li><p>双击下载的文件将其挂载。</p></li><li><p>打开<strong>终端</strong>（<strong>Finder</strong> &gt; <strong>应用程序</strong> &gt; <strong>实用程序</strong> &gt; <strong>终端</strong>），并执行以下命令：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo -E -s</span><br></pre></td></tr></table></figure><p>您将需要输入Mac密码才能运行该命令。由于安全措施，不会显示任何符号，因此只需直接按回车键</p><p>继续输入命令：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">cd</span> /Volumes/Parallels\ Desktop\ 15</span><br><span class="line"><span class="built_in">export</span> SYSTEM_VERSION_COMPAT=1</span><br><span class="line">open Install.app</span><br></pre></td></tr></table></figure><p>如果安装成功，按照说明上面的运行的Parallels Desktop命令</p><h2 id="如遇-tv-netflix-等带有-drm-的视频解码黑屏问题请尝试在启动参数中添加shikigva80感谢butanediol"><a class="markdownIt-Anchor" href="#如遇-tv-netflix-等带有-drm-的视频解码黑屏问题请尝试在启动参数中添加shikigva80感谢butanediol"></a> 如遇 TV、Netflix 等带有 DRM 的视频解码黑屏问题，请尝试在启动参数中添加<code>shikigva=80</code>【感谢<a href="https://github.com/Butanediol" target="_blank" rel="noopener">@Butanediol</a>】</h2></li></ol><h2 id="如何在-ventura-123-中重新使用-python-27"><a class="markdownIt-Anchor" href="#如何在-ventura-123-中重新使用-python-27"></a> 如何在 <code>Ventura 12.3</code> 中重新使用 <code>python 2.7</code></h2><p>打开终端，输入命令：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 使用国内源安装 HomeBrew</span></span><br><span class="line">$ /bin/zsh -c <span class="string">"<span class="variable">$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)</span>"</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 安装pyenv</span></span><br><span class="line">$ <span class="built_in">eval</span> <span class="string">"<span class="variable">$(brew shellenv)</span>"</span></span><br><span class="line">$ brew install pyenv</span><br><span class="line"></span><br><span class="line"><span class="comment"># 使用 pyenv安装 python 2.7.18</span></span><br><span class="line">$ pyenv install 2.7.18</span><br><span class="line">$ ln -s <span class="string">"<span class="variable">$&#123;HOME&#125;</span>/.pyenv/versions/2.7.18/bin/python2.7"</span> <span class="string">"<span class="variable">$&#123;HOMEBREW_PREFIX&#125;</span>/bin/python2"</span></span><br><span class="line"></span><br><span class="line">$ python2 --version </span><br><span class="line">Python 2.7.18</span><br></pre></td></tr></table></figure><h2 id="ventura-应用程序兼容列表"><a class="markdownIt-Anchor" href="#ventura-应用程序兼容列表"></a> <code>Ventura</code> 应用程序兼容列表</h2><p><a href="https://www.macwk.com/Ventura" target="_blank" rel="noopener">https://www.macwk.com/Ventura</a></p><h2 id="如何禁用-mds_store"><a class="markdownIt-Anchor" href="#如何禁用-mds_store"></a> 如何禁用 <code>mds_store</code></h2><p>打开终端，输入命令：</p><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist</span><br><span class="line">$ sudo mdutil – a -i off</span><br></pre></td></tr></table></figure><h2 id="本篇文章持续更新中敬请期待"><a class="markdownIt-Anchor" href="#本篇文章持续更新中敬请期待"></a> 本篇文章持续更新中，敬请期待</h2><h2 id="扩展阅读"><a class="markdownIt-Anchor" href="#扩展阅读"></a> 扩展阅读：</h2><ul><li>OpenCore一般故障排除:<a href="https://mp.weixin.qq.com/s?src=11&amp;timestamp=1595905263&amp;ver=2487&amp;signature=27XImGgg3JkZTHare*MZhlcmQZcnMh*AU*JXe9zxy27Dc0nrK4tMYhbfF90Q30BZuTKO00HZuApXK-2PXIXaLbSmZDFZn4UhjcNP0V6tKgC8ZDaThhj9fpvQtfeLa4BQ&amp;new=1" target="_blank" rel="noopener">请点击前往</a></li><li>OpenCore一般故障排除2：<a href="https://mp.weixin.qq.com/s?src=11&amp;timestamp=1595905263&amp;ver=2487&amp;signature=27XImGgg3JkZTHare*MZhlcmQZcnMh*AU*JXe9zxy27QnibJEJCpS34IQBCPRJO0Z7hqzyJpASgsQfVBvnZmsDxWXUegrGF*fQh-404RDb4YXuH7DO9c05nNEwZqEBei&amp;new=1" target="_blank" rel="noopener">请点击前往</a></li><li>OpenCore一般故障排除3：<a href="https://mp.weixin.qq.com/s?src=11&amp;timestamp=1595905263&amp;ver=2487&amp;signature=27XImGgg3JkZTHare*MZhlcmQZcnMh*AU*JXe9zxy26-*4Rbp-yPXIdtxrfD91CyI4eu0U6yUbCA5A1cEdVprsds6fO*-Le4qwzuKIpSBuIYKmHSiQl7kBDZYD8piSJP&amp;new=1" target="_blank" rel="noopener">请点击前往</a></li></ul><h2 id="感谢名单"><a class="markdownIt-Anchor" href="#感谢名单"></a> 感谢名单</h2><ul><li><a href="https://www.apple.com/" target="_blank" rel="noopener">Apple</a> 的 macOS</li><li><a href="https://github.com/rehabman" target="_blank" rel="noopener">RehabMan</a>维护的项目：<a href="https://github.com/RehabMan/OS-X-Clover-Laptop-Config" target="_blank" rel="noopener">OS-X-Clover-Laptop-Config</a> <a href="https://github.com/RehabMan/Laptop-DSDT-Patch" target="_blank" rel="noopener">Laptop-DSDT-Patch</a> <a href="https://github.com/RehabMan/OS-X-USB-Inject-All" target="_blank" rel="noopener">OS-X-USB-Inject-All</a>等</li><li><a href="https://github.com/acidanthera" target="_blank" rel="noopener">Acidanthera</a> 维护的项目：<a href="https://github.com/acidanthera/OpenCorePkg" target="_blank" rel="noopener">OpenCorePkg</a> <a href="https://github.com/acidanthera/Lilu" target="_blank" rel="noopener">lilu</a> <a href="https://github.com/acidanthera/AirportBrcmFixup" target="_blank" rel="noopener">AirportBrcmFixup</a> <a href="https://github.com/acidanthera/WhateverGreen" target="_blank" rel="noopener">WhateverGreen</a> <a href="https://github.com/acidanthera/VirtualSMC" target="_blank" rel="noopener">VirtualSMC</a> <a href="https://github.com/acidanthera/AppleALC" target="_blank" rel="noopener">AppleALC</a> <a href="https://github.com/acidanthera/BrcmPatchRAM" target="_blank" rel="noopener">BrcmPatchRAM</a> <a href="https://github.com/acidanthera/MaciASL" target="_blank" rel="noopener">MaciASL</a> 等</li><li><a href="https://www.insanelymac.com/forum/profile/1364628-headkaze/" target="_blank" rel="noopener">headkaze</a> 提供的工具：<a href="https://github.com/headkaze/Hackintool" target="_blank" rel="noopener">hackintool</a> <a href="https://github.com/headkaze/PinConfigurator" target="_blank" rel="noopener">PinConfigurator</a> <a href="https://www.insanelymac.com/forum/topic/339175-brcmpatchram2-for-1015-catalina-broadcom-bluetooth-firmware-upload/" target="_blank" rel="noopener">BrcmPatchRAM</a></li><li><a href="https://github.com/CloverHackyColor" target="_blank" rel="noopener">CloverHackyColor</a>维护的项目：<a href="https://github.com/CloverHackyColor/CloverBootloader" target="_blank" rel="noopener">CloverBootloader</a> <a href="https://github.com/CloverHackyColor/CloverThemes" target="_blank" rel="noopener">CloverThemes</a></li><li><a href="https://github.com/ic005k/" target="_blank" rel="noopener">ic005k</a>维护的项目：<a href="https://github.com/ic005k/QtOpenCoreConfig" target="_blank" rel="noopener">OpenCore Auxiliary Tools OpenCore Configurator OCAT</a></li><li>宪武整理的：<a href="https://github.com/daliansky/P-little" target="_blank" rel="noopener">P-little</a> <a href="https://github.com/daliansky/OC-little" target="_blank" rel="noopener">OC-little</a></li><li><a href="https://github.com/chris1111" target="_blank" rel="noopener">chris1111</a>维护的项目：<a href="https://github.com/chris1111/VoodooHDA-2.9.2-Clover-V15" target="_blank" rel="noopener">VoodooHDA</a> <a href="https://github.com/chris1111/Wireless-USB-Adapter-Clover" target="_blank" rel="noopener">Wireless USB Adapter Clover</a></li><li><a href="https://github.com/zxystd" target="_blank" rel="noopener">zxystd</a>开发的<a href="https://github.com/zxystd/itlwm" target="_blank" rel="noopener">itlwm</a> <a href="https://github.com/zxystd/IntelBluetoothFirmware" target="_blank" rel="noopener">IntelBluetoothFirmware</a></li><li><a href="https://github.com/lihaoyun6" target="_blank" rel="noopener">lihaoyun6</a>提供的工具：<a href="https://github.com/lihaoyun6/CPU-S" target="_blank" rel="noopener">CPU-S</a> <a href="https://github.com/lihaoyun6/macOS-Displays-icon" target="_blank" rel="noopener">macOS-Displays-icon</a> <a href="https://github.com/lihaoyun6/SidecarPatcher" target="_blank" rel="noopener">SidecarPatcher</a></li><li><a href="https://github.com/xzhih" target="_blank" rel="noopener">xzhih</a>提供的工具：<a href="https://github.com/xzhih/one-key-hidpi" target="_blank" rel="noopener">one-key-hidpi</a></li><li><a href="https://github.com/williambj1" target="_blank" rel="noopener">Bat.bat</a>更新维护的<a href="https://blog.daliansky.net/OpenCore-BootLoader.html">精解OpenCore</a></li><li><a href="https://github.com/dortania/" target="_blank" rel="noopener">dortania</a> 维护的 <a href="https://dortania.github.io/OpenCore-Install-Guide/" target="_blank" rel="noopener">OpenCore Install Guide</a></li><li><a href="https://github.com/athlonreg" target="_blank" rel="noopener">athlonreg</a>更新维护的<a href="https://blog.cloudops.ml/ocbook/" target="_blank" rel="noopener">OpenCore 0.5+ 部件补丁</a> <a href="https://github.com/athlonreg/Common-patches-for-hackintosh" target="_blank" rel="noopener">Common-patches-for-hackintosh</a></li><li><a href="https://github.com/stevezhengshiqi" target="_blank" rel="noopener">stevezhengshiqi</a> 更新维护的 <a href="https://github.com/daliansky/XiaoMi-Pro-Hackintosh" target="_blank" rel="noopener">XiaoMi NoteBook Pro Hackintosh</a> 和 <a href="https://github.com/stevezhengshiqi/one-key-cpufriend" target="_blank" rel="noopener">one-key-cpufriend</a></li><li><a href="https://github.com/Miracle-Sakuno" target="_blank" rel="noopener">Miracle-Sakuno</a> 整理的各平台配置文件</li><li><a href="github.com">github.com</a></li><li><a href="gitee.io">码云 gitee.io</a></li><li><a href="coding.net">扣钉 coding.net</a></li></ul><h2 id="参考及引用"><a class="markdownIt-Anchor" href="#参考及引用"></a> 参考及引用：</h2><ul><li><p><a href="https://deviwiki.com/wiki/Dell" target="_blank" rel="noopener">https://deviwiki.com/wiki/Dell</a></p></li><li><p><a href="https://deviwiki.com/wiki/Dell_Wireless_1820A_(DW1820A)" target="_blank" rel="noopener">https://deviwiki.com/wiki/Dell_Wireless_1820A_(DW1820A)</a></p></li><li><p><a href="%5Bhttps://osxlatitude.com/profile/4953-herv%C3%A9/%5D(https://osxlatitude.com/profile/4953-herv%C3%A9/)">Hervé</a> 更新的Broadcom 4350:<a href="https://osxlatitude.com/forums/topic/12169-bcm4350-cards-registry-of-cardslaptops-interop/" target="_blank" rel="noopener">https://osxlatitude.com/forums/topic/12169-bcm4350-cards-registry-of-cardslaptops-interop/</a></p></li><li><p><a href="%5Bhttps://osxlatitude.com/profile/4953-herv%C3%A9/%5D(https://osxlatitude.com/profile/4953-herv%C3%A9/)">Hervé</a> 更新的DW1820A支持机型列表:<a href="https://osxlatitude.com/forums/topic/11322-broadcom-bcm4350-cards-under-high-sierramojave/" target="_blank" rel="noopener">https://osxlatitude.com/forums/topic/11322-broadcom-bcm4350-cards-under-high-sierramojave/</a></p></li><li><p><a href="https://osxlatitude.com/profile/129953-nickhx/" target="_blank" rel="noopener">nickhx</a> 提供的蓝牙驱动：<a href="https://osxlatitude.com/forums/topic/11540-dw1820a-for-7490-help/?do=findComment&amp;comment=92833" target="_blank" rel="noopener">https://osxlatitude.com/forums/topic/11540-dw1820a-for-7490-help/?do=findComment&amp;comment=92833</a></p></li><li><p><a href="https://blog.xjn819.com/" target="_blank" rel="noopener">xjn819</a>： <a href="https://blog.xjn819.com/?p=543" target="_blank" rel="noopener">使用OpenCore引导黑苹果</a> <a href="https://blog.xjn819.com/?p=317" target="_blank" rel="noopener">300系列主板正确使用AptioMemoryFix.efi的姿势(重写版）</a></p></li><li><p><a href="https://www.insanelymac.com/" target="_blank" rel="noopener">insanelymac.com</a></p></li><li><p><a href="https://www.tonymacx86.com/" target="_blank" rel="noopener">tonymacx86.com</a></p></li><li><p><a href="http://bbs.pcbeta.com" target="_blank" rel="noopener">远景论坛</a></p></li><li><p><a href="https://applelife.ru/" target="_blank" rel="noopener">applelife.ru</a></p></li><li><p><a href="https://www.olarila.com/" target="_blank" rel="noopener">olarila.com</a></p></li></ul></div><div><div id="wechat_subscriber" style="display:block;padding:10px 0;margin:20px auto;width:100%;text-align:center"><a href="https://hackintosher.taobao.com"><img id="wechat_subscriber_qcode" src="/uploads/WeChatandShop.png" alt="黑果小兵 wechat" style="max-width:90%"></a><div>微信扫一扫，订阅/直达【黑果小兵的部落阁】</div></div></div><div class="updated"><svg xmlns="http://www.w3.org/2000/svg" width="130" height="20"><lineargradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></lineargradient><clippath id="a"><rect width="130" height="20" rx="3" fill="#fff"/></clippath><g clip-path="url(#a)"><path fill="#555" d="M0 0h55v20H0z"/><path fill="#97CA00" d="M55 0h75v20H55z"/><path fill="url(#b)" d="M0 0h130v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="Menlo,monospace" font-size="110"><text x="285" y="150" fill="#010101" fill-opacity=".3" textlength="450" transform="scale(.1)">更新日期</text><text x="285" y="140" textlength="450" transform="scale(.1)">更新日期</text><text x="915" y="150" fill="#010101" fill-opacity=".3" textlength="650" transform="scale(.1)">2022-11-10</text><text x="915" y="140" textlength="650" transform="scale(.1)">2022-11-10</text></g></svg></div><div><div><div style="text-align:center;color:#ccc;font-size:14px">-------------本文结束<i class="fa fa-apple"></i>感谢您的阅读-------------</div></div></div><div><div style="padding:10px 0;margin:20px auto;width:90%;text-align:center"><button id="rewardButton" disable="enable" onclick='var qr=document.getElementById("QR");"none"===qr.style.display?qr.style.display="block":qr.style.display="none"'><span>打赏</span></button><div>如果文章对您有帮助，就请站长喝杯咖啡吧 ´◡`</div><div id="QR" style="display:none"><div id="wechat" style="display:inline-block"><img id="wechat_qr" src="/images/wechatpay.jpg" alt="黑果小兵 微信支付"><p>微信支付</p></div><div id="alipay" style="display:inline-block"><img id="alipay_qr" src="/images/alipay.jpg" alt="黑果小兵 支付宝"><p>支付宝</p></div></div></div></div><div><div><ul class="qq-qun"><div><p></p><h2>QQ群列表：</h2><p></p><p>630724380 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=JyGkfKK7U3Xq3TDtpqKOTq_gW7SBg4Uh&jump_from=webapi" target="_blank" rel="noopener">黑果小兵黑苹果技术群7</a> 2000人 新开群<br>713810838 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=e8E-1Ge2lCoBSTlj8Y4zMxX7l7-V63Iv&jump_from=webapi" target="_blank" rel="noopener">黑果小兵黑苹果技术群8</a> 2000人 新开群<br>688324116 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=Fp4HZ5e8A61oCu0GMS5YUqP6COc43-AO&jump_from=webapi" target="_blank" rel="noopener">一起黑苹果</a> 2000人<br>331686786 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=No8zvDfvDicT-GfSApw1RMBI-3MQ7zM3&jump_from=webapi" target="_blank" rel="noopener">一起吃苹果</a> 2000人<br>257995340 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=acztqL9efoqAOoptc_3moZ9b3Sgczu9_&jump_from=webapi" target="_blank" rel="noopener">一起啃苹果</a> 2000人群 远景报备群<br>875482673 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=aZNyoRum_er2mruqmnbX_93ncHNgsyak&jump_from=webapi" target="_blank" rel="noopener">黑果小兵黑苹果技术群</a> 2000人<br>1058822256 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=1sIT0BDaejgr9t1Hlw16cMnw_Z96zleV&jump_from=webapi" target="_blank" rel="noopener">黑果小兵黑苹果技术群2</a> 2000人<br>819662911 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=aJx9xO7vAmyslCuOdK0bRMmDLpvOCeRw&jump_from=webapi" target="_blank" rel="noopener">黑果小兵黑苹果技术群3</a> 2000人<br>954098809 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=iu042k0X5snr--dzAxOzcsvD9Zft9yx7&jump_from=webapi" target="_blank" rel="noopener">黑果小兵黑苹果技术群4</a> 2000人<br>1161377948 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=kBV9vCnz-NqtXXJiwnUhaLyJN1D7G0n6&jump_from=webapi" target="_blank" rel="noopener">黑果小兵黑苹果技术群5</a> 2000人<br>553283949 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=kr_hZc5pKK4TCDRaFPwRlfAiB4528InP&jump_from=webapi" target="_blank" rel="noopener">黑果小兵黑苹果技术群6</a> 2000人<br>701278330 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=x57TlUmxz88oXGDWjMOOsWokYi8klE11&jump_from=webapi" target="_blank" rel="noopener">黑苹果无线网卡交流群</a> 1000人群 DW1820A技术支持群<br>891434070 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=TUAxSUUtw_T1N62V0kF1sWvMcDr_eoxc&jump_from=webapi" target="_blank" rel="noopener">Catalina黑苹果交流群</a> 2000人群 远景报备群<br>939122730 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=g_rpf7m0LJllE6WHY9c0gVvCTBm1MtuN&jump_from=webapi" target="_blank" rel="noopener">Catalina黑苹果交流II群</a> 2000人群<br>891677227 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=xsuIOzF7RXYaRTTbJ5o_UjzohRDUx5UY&jump_from=webapi" target="_blank" rel="noopener">黑果小兵高级群</a> 2000人群<br>943307869 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=aoSvqrbysdjPo0Wa_XvvPuMG9NMEtOie&jump_from=webapi" target="_blank" rel="noopener">黑果小兵高级群II</a> 2000人群<br>419298796 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=4gWtT2-pOWZYIGwIpVaTNft2aOJP-5qs&jump_from=webapi" target="_blank" rel="noopener">零刻黑苹果技术交流群</a> 500人群 非专用机型请勿加入<br>275356796 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=H7hFwiVkZq71L7se6rz3hE9QcacqL-dV&jump_from=webapi" target="_blank" rel="noopener">morefine黑苹果技术交流群</a> 500人群 非专用机型请勿加入<br>869792897 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=MTDHb2QgLH3gkaymtdFCpk77J5ufWJpH&jump_from=webapi" target="_blank" rel="noopener">minisforum U820黑苹果技术群</a> 500人群 非专用机型请勿加入<br>942112153 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=N5cjw5ksrnmk-RMQ4fPCOo5D_Dxiu47B&jump_from=webapi" target="_blank" rel="noopener">天逸510s Mini黑苹果交流群</a> 1000人群 非专用机型请勿加入<br>673294583 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=GgcMJM5-98yB-fc6zyGcTI3OuesrSBRk&jump_from=webapi" target="_blank" rel="noopener">小新Pro黑苹果技术群</a> 2000人群 非专用机型请勿加入<br>946132482 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=r-m99xC-BPIRdVkEjU6duvqXMJ-1FOwA&jump_from=webapi" target="_blank" rel="noopener">小新Pro黑苹果</a> 500人群 非专用机型请勿加入<br>158976808 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=c9DeeyUg9x4dZlOpIVmj4R4g38p-YCZ1&jump_from=webapi" target="_blank" rel="noopener">DELL黑苹果交流群</a> 1000人群 非专用机型请勿加入<br>247451054 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=h7fvRnWmdaMK2D0qVQLzJsjCC9PwB5h3&jump_from=webapi" target="_blank" rel="noopener">小米Pro黑苹果高级群</a> 2000人群 非专用机型请勿加入<br>943181023 <a href="https://qm.qq.com/cgi-bin/qm/qr?k=OGO_GSX9ZhtbQ_HNns57Vdxm5pR1wH6V&jump_from=webapi" target="_blank" rel="noopener">联想小新Air黑苹果交流群</a> 500人群 非专用机型请勿加入<br></p><p></p><h2>Telegram群：</h2><p></p><p>黑果小兵的部落阁 <a href="http://t.me/daliansky" target="_blank">http://t.me/daliansky</a><br>黑果小兵的部落阁 #安装问题讨论 <a href="https://t.me/Hackintosh_Installer" target="_blank">https://t.me/Hackintosh_Installer</a></p><p></p><h2>淘宝店铺：</h2><p></p><p>黑果小兵的部落阁 <a href="https://hackintosher.taobao.com" target="_blank">https://hackintosher.taobao.com</a></p></div></ul></div></div><div><ul class="post-copyright"><li class="post-copyright-author"><strong>本文作者： </strong>黑果小兵</li><li class="post-copyright-link"><strong>本文链接：</strong> <a href="https://blog.daliansky.net/Common-problems-and-solutions-in-macOS-Ventura-13.0-installation.html" title="macOS Ventura 13.0安装中常见的问题及解决方法">https://blog.daliansky.net/Common-problems-and-solutions-in-macOS-Ventura-13.0-installation.html</a></li><li class="post-copyright-license"><strong>版权声明： </strong>本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="noopener" target="_blank"><i class="fa fa-fw fa-creative-commons"></i>BY-NC-SA</a> 许可协议。转载请注明出处！</li></ul></div><footer class="post-footer"><div class="post-tags"><a href="/tags/安装/" rel="tag"><i class="fa fa-tag"></i> 安装</a> <a href="/tags/常见问题/" rel="tag"><i class="fa fa-tag"></i> 常见问题</a> <a href="/tags/13/" rel="tag"><i class="fa fa-tag"></i> 13</a> <a href="/tags/Ventura/" rel="tag"><i class="fa fa-tag"></i> Ventura</a></div><div class="post-nav"><div class="post-nav-next post-nav-item"><a href="/macOS-BigSur-11.6.6-20G624-Release-version-with-OC-0.8.0-and-Clover-5142-and-PE-original-image.html" rel="next" title="【黑果小兵】【微信首发】macOS Big Sur 11.6.6 20G624 Installer for OpenCore 0.8.0 and CLOVER 5142 and PE 三 EFI 分区原版镜像"><i class="fa fa-chevron-left"></i> 【黑果小兵】【微信首发】macOS Big Sur 11.6.6 20G624 Installer for OpenCore 0.8.0 and CLOVER 5142 and PE 三 EFI 分区原版镜像</a></div><span class="post-nav-divider"></span><div class="post-nav-prev post-nav-item"><a href="/macOS-Monterey-12.5.1-21G83-Release-version-with-OC-0.8.4-CLOVER-5148-and-FirPE-original-image.html" rel="prev" title="【黑果小兵】【微信首发】macOS Monterey 12.5.1 21G83 Installer for OpenCore 0.8.4 and CLOVER 5148 and FirPE 三EFI分区原版镜像">【黑果小兵】【微信首发】macOS Monterey 12.5.1 21G83 Installer for OpenCore 0.8.4 and CLOVER 5148 and FirPE 三EFI分区原版镜像 <i class="fa fa-chevron-right"></i></a></div></div></footer></div></article></div></div><div id="gitalk-container"></div></div><div class="sidebar-toggle"><div class="sidebar-toggle-line-wrap"><span class="sidebar-toggle-line sidebar-toggle-line-first"></span> <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span> <span class="sidebar-toggle-line sidebar-toggle-line-last"></span></div></div><aside id="sidebar" class="sidebar"><div id="sidebar-dimmer"></div><div class="sidebar-inner"><ul class="sidebar-nav motion-element"><li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">文章目录</li><li class="sidebar-nav-overview" data-target="site-overview-wrap">站点概览</li></ul><div class="site-overview-wrap sidebar-panel"><div class="site-overview"><div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"><a href="/"><img class="site-author-image" itemprop="image" src="/images/avatar.png" alt="黑果小兵"></a><p class="site-author-name" itemprop="name">黑果小兵</p><p class="site-description motion-element" itemprop="description">黑果小兵</p></div><nav class="site-state motion-element"><div class="site-state-item site-state-posts"><a href="/archives/"><span class="site-state-item-count">122</span> <span class="site-state-item-name">日志</span></a></div><div class="site-state-item site-state-categories"><a href="/categories/index.html"><span class="site-state-item-count">26</span> <span class="site-state-item-name">分类</span></a></div><div class="site-state-item site-state-tags"><a href="/tags/index.html"><span class="site-state-item-count">275</span> <span class="site-state-item-name">标签</span></a></div></nav><div class="feed-link motion-element"><a href="/atom.xml" rel="alternate"><i class="fa fa-rss"></i> RSS</a></div><div class="links-of-author motion-element"><span class="links-of-author-item"><a href="https://github.com/daliansky" title="GitHub &rarr; https://github.com/daliansky" rel="noopener" target="_blank"><i class="fa fa-fw fa-github"></i></a> </span><span class="links-of-author-item"><a href="http://www.jianshu.com/u/df9143008845" title="简书 &rarr; http://www.jianshu.com/u/df9143008845" rel="noopener" target="_blank"><i class="fa fa-fw fa-heartbeat"></i></a> </span><span class="links-of-author-item"><a href="http://shang.qq.com/wpa/qunwpa?idkey=db511a29e856f37cbb871108ffa77a6e79dde47e491b8f2c8d8fe4d3c310de91" title="QQ &rarr; http://shang.qq.com/wpa/qunwpa?idkey=db511a29e856f37cbb871108ffa77a6e79dde47e491b8f2c8d8fe4d3c310de91" rel="noopener" target="_blank"><i class="fa fa-fw fa-qq"></i></a></span></div><div class="links-of-blogroll motion-element links-of-blogroll-block"><div class="links-of-blogroll-title"><i class="fa fa-fw fa-link"></i> Links</div><ul class="links-of-blogroll-list"><li class="links-of-blogroll-item"><a href="https://blog.tlhub.cn" title="https://blog.tlhub.cn" rel="noopener" target="_blank">Athlonreg</a></li><li class="links-of-blogroll-item"><a href="http://www.sqlsec.com" title="http://www.sqlsec.com" rel="noopener" target="_blank">国光</a></li></ul></div></div></div><div class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active"><div class="post-toc"><div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#ventura安装常见问题"><span class="nav-number">1.</span> <span class="nav-text">Ventura安装常见问题</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#我应该使用opencore还是clover"><span class="nav-number">1.1.</span> <span class="nav-text">我应该使用OpenCore还是Clover</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#我可以直接在线升级吗"><span class="nav-number">1.2.</span> <span class="nav-text">我可以直接在线升级吗</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#如何保证顺利升级-ventura-正式版"><span class="nav-number">1.3.</span> <span class="nav-text">如何保证顺利升级 Ventura 正式版</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#amd-6000-系列显卡当前-macos-状态"><span class="nav-number">1.4.</span> <span class="nav-text">AMD 6000 系列显卡当前 macOS 状态：</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#安装程序进入-recovery-install-macos-ventura-灰屏只出现一个鼠标的解决方法"><span class="nav-number">1.5.</span> <span class="nav-text">安装程序进入 Recovery / Install macOS Ventura 灰屏，只出现一个鼠标的解决方法</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#intel-i225-v-驱动方法"><span class="nav-number">1.6.</span> <span class="nav-text">Intel I225-V 驱动方法</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#如何正确驱动-intel-broadcom-蓝牙设备"><span class="nav-number">1.7.</span> <span class="nav-text">如何正确驱动 Intel / Broadcom 蓝牙设备</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#蓝牙被禁用无须开机只需要一条命令即可起死回生"><span class="nav-number">1.8.</span> <span class="nav-text">蓝牙被禁用，无须开机，只需要一条命令即可起死回生</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#蓝牙连接耳机直接断开"><span class="nav-number">1.9.</span> <span class="nav-text">蓝牙连接耳机直接断开</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#如何重置网络设备以解决app-store无法登录的问题"><span class="nav-number">1.10.</span> <span class="nav-text">如何重置网络设备，以解决App Store无法登录的问题</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#如何正确重置nvram以解决app-store无法登录的问题"><span class="nav-number">1.11.</span> <span class="nav-text">如何正确重置NVRAM，以解决App Store无法登录的问题</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#无法更新到较新版本的-ventura"><span class="nav-number">1.12.</span> <span class="nav-text">无法更新到较新版本的 Ventura</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#如何防止-opencore-变量注入进-windows"><span class="nav-number">1.13.</span> <span class="nav-text">如何防止 OpenCore 变量注入进 Windows</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#如何通过uefi-shell添加uefi引导的正确姿势"><span class="nav-number">1.14.</span> <span class="nav-text">如何通过UEFI SHELL添加UEFI引导的正确姿势</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#使用opencore-configurator添加boot-args引导参数的详细步骤"><span class="nav-number">1.15.</span> <span class="nav-text">使用OpenCore Configurator添加boot-args引导参数的详细步骤</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#如何引导进入ventura的recovery分区"><span class="nav-number">1.16.</span> <span class="nav-text">如何引导进入Ventura的Recovery分区</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#bios未禁用cfg-lock选项的设置"><span class="nav-number">1.17.</span> <span class="nav-text">BIOS未禁用CFG LOCK选项的设置</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#开机卡在apfs_module_start-1689-load-comapplefilesystemsapfs-v14121011-apfs-1412-1011-附近"><span class="nav-number">1.18.</span> <span class="nav-text">开机卡在apfs_module_start: 1689: load: com.apple.filesystems.apfs, v1412.101.1, apfs-1412. 101.1 附近</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#bios重设或重启关机后发送到安全模式"><span class="nav-number">1.19.</span> <span class="nav-text">BIOS重设或重启/关机后发送到安全模式</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#双系统使用opencore引导启动windows出现蓝屏的解决方法"><span class="nav-number">1.20.</span> <span class="nav-text">双系统使用OpenCore引导启动Windows出现蓝屏的解决方法</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#无法在macos-ventura上启动或安装parallels-desktop"><span class="nav-number">1.21.</span> <span class="nav-text">无法在macOS Ventura上启动或安装Parallels Desktop</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#如遇-tv-netflix-等带有-drm-的视频解码黑屏问题请尝试在启动参数中添加shikigva80感谢butanediol"><span class="nav-number">1.22.</span> <span class="nav-text">如遇 TV、Netflix 等带有 DRM 的视频解码黑屏问题，请尝试在启动参数中添加shikigva=80【感谢@Butanediol】</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#如何在-ventura-123-中重新使用-python-27"><span class="nav-number">1.23.</span> <span class="nav-text">如何在 Ventura 12.3 中重新使用 python 2.7</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#ventura-应用程序兼容列表"><span class="nav-number">1.24.</span> <span class="nav-text">Ventura 应用程序兼容列表</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#如何禁用-mds_store"><span class="nav-number">1.25.</span> <span class="nav-text">如何禁用 mds_store</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#本篇文章持续更新中敬请期待"><span class="nav-number">1.26.</span> <span class="nav-text">本篇文章持续更新中，敬请期待</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#扩展阅读"><span class="nav-number">1.27.</span> <span class="nav-text">扩展阅读：</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#感谢名单"><span class="nav-number">1.28.</span> <span class="nav-text">感谢名单</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#参考及引用"><span class="nav-number">1.29.</span> <span class="nav-text">参考及引用：</span></a></li></ol></li></ol></div></div></div></div></aside></div></main><footer id="footer" class="footer"><div class="footer-inner"><div class="copyright"><a href="http://www.beian.miit.gov.cn" rel="noopener" target="_blank">辽ICP备15000696号-3 </a>&copy; 2016 – <span itemprop="copyrightYear">2022</span> <span class="with-love" id="animate"><i class="fa fa-apple"></i> </span><span class="author" itemprop="copyrightHolder">黑果小兵</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"><i class="fa fa-area-chart"></i> </span><span title="站点总字数">835k</span> <span class="post-meta-divider">|</span> <span class="post-meta-item-icon"><i class="fa fa-coffee"></i> </span><span title="站点阅读时长">25:19</span></div><div class="busuanzi-count"><script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><span class="site-uv" title="总访客量"><i class="fa fa-user"></i> <span class="busuanzi-value" id="busuanzi_value_site_uv"></span> </span><span class="site-pv" title="总访问量"><i class="fa fa-eye"></i> <span class="busuanzi-value" id="busuanzi_value_site_pv"></span></span></div></div></footer><div class="back-to-top"><i class="fa fa-arrow-up"></i> <span id="scrollpercent"><span>0</span>%</span></div></div><script>"[object Function]"!==Object.prototype.toString.call(window.Promise)&&(window.Promise=null)</script><script src="/lib/jquery/index.js?v=2.1.3"></script><script src="/lib/velocity/velocity.min.js?v=1.2.1"></script><script src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script><script src="https://fastly.jsdelivr.net/npm/@fancyapps/fancybox@3.2.5/dist/jquery.fancybox.min.js"></script><script src="//fastly.jsdelivr.net/gh/theme-next/theme-next-reading-progress@1.1/reading_progress.min.js"></script><script src="/js/src/utils.js?v=6.6.0"></script><script src="/js/src/motion.js?v=6.6.0"></script><script src="/js/src/scrollspy.js?v=6.6.0"></script><script src="/js/src/post-details.js?v=6.6.0"></script><script src="/js/src/bootstrap.js?v=6.6.0"></script><script src="//fastly.jsdelivr.net/npm/gitalk@1.7.2/dist/gitalk.min.js"></script><link rel="stylesheet" href="//fastly.jsdelivr.net/npm/gitalk@1.7.2/dist/gitalk.css"><script src="//fastly.jsdelivr.net/npm/js-md5@0.7.3/src/md5.min.js"></script><script>var gitalk=new Gitalk({clientID:"0da3e792a21a77938da6",clientSecret:"4d2869563000629ee6dbed48fbbf878aea151cb6",repo:"daliansky.github.io",owner:"daliansky",admin:["daliansky"],id:md5(location.pathname),distractionFreeMode:"true",proxy:"https://gitalk.daliansky.workers.dev/?https://github.com/login/oauth/access_token"});gitalk.render("gitalk-container")</script><script>// Popup Window;
    var isfetched = false;
    var isXml = true;
    // Search DB path;
    var search_path = "search.xml";
    if (search_path.length === 0) {
      search_path = "search.xml";
    } else if (/json$/i.test(search_path)) {
      isXml = false;
    }
    var path = "/" + search_path;
    // monitor main search box;

    var onPopupClose = function (e) {
      $('.popup').hide();
      $('#local-search-input').val('');
      $('.search-result-list').remove();
      $('#no-result').remove();
      $(".local-search-pop-overlay").remove();
      $('body').css('overflow', '');
    }

    function proceedsearch() {
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay"></div>')
        .css('overflow', 'hidden');
      $('.search-popup-overlay').click(onPopupClose);
      $('.popup').toggle();
      var $localSearchInput = $('#local-search-input');
      $localSearchInput.attr("autocapitalize", "none");
      $localSearchInput.attr("autocorrect", "off");
      $localSearchInput.focus();
    }

    // search function;
    var searchFunc = function(path, search_id, content_id) {
      'use strict';

      // start loading animation
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay">' +
          '<div id="search-loading-icon">' +
          '<i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>' +
          '</div>' +
          '</div>')
        .css('overflow', 'hidden');
      $("#search-loading-icon").css('margin', '20% auto 0 auto').css('text-align', 'center');

      

      $.ajax({
        url: path,
        dataType: isXml ? "xml" : "json",
        async: true,
        success: function(res) {
          // get the contents from search data
          isfetched = true;
          $('.popup').detach().appendTo('.header-inner');
          var datas = isXml ? $("entry", res).map(function() {
            return {
              title: $("title", this).text(),
              content: $("content",this).text(),
              url: $("url" , this).text()
            };
          }).get() : res;
          var input = document.getElementById(search_id);
          var resultContent = document.getElementById(content_id);
          var inputEventFunction = function() {
            var searchText = input.value.trim().toLowerCase();
            var keywords = searchText.split(/[\s\-]+/);
            if (keywords.length > 1) {
              keywords.push(searchText);
            }
            var resultItems = [];
            if (searchText.length > 0) {
              // perform local searching
              datas.forEach(function(data) {
                var isMatch = false;
                var hitCount = 0;
                var searchTextCount = 0;
                var title = data.title.trim();
                var titleInLowerCase = title.toLowerCase();
                var content = data.content.trim().replace(/<[^>]+>/g,"");
                
                var contentInLowerCase = content.toLowerCase();
                var articleUrl = decodeURIComponent(data.url);
                var indexOfTitle = [];
                var indexOfContent = [];
                // only match articles with not empty titles
                if(title != '') {
                  keywords.forEach(function(keyword) {
                    function getIndexByWord(word, text, caseSensitive) {
                      var wordLen = word.length;
                      if (wordLen === 0) {
                        return [];
                      }
                      var startPosition = 0, position = [], index = [];
                      if (!caseSensitive) {
                        text = text.toLowerCase();
                        word = word.toLowerCase();
                      }
                      while ((position = text.indexOf(word, startPosition)) > -1) {
                        index.push({position: position, word: word});
                        startPosition = position + wordLen;
                      }
                      return index;
                    }

                    indexOfTitle = indexOfTitle.concat(getIndexByWord(keyword, titleInLowerCase, false));
                    indexOfContent = indexOfContent.concat(getIndexByWord(keyword, contentInLowerCase, false));
                  });
                  if (indexOfTitle.length > 0 || indexOfContent.length > 0) {
                    isMatch = true;
                    hitCount = indexOfTitle.length + indexOfContent.length;
                  }
                }

                // show search results

                if (isMatch) {
                  // sort index by position of keyword

                  [indexOfTitle, indexOfContent].forEach(function (index) {
                    index.sort(function (itemLeft, itemRight) {
                      if (itemRight.position !== itemLeft.position) {
                        return itemRight.position - itemLeft.position;
                      } else {
                        return itemLeft.word.length - itemRight.word.length;
                      }
                    });
                  });

                  // merge hits into slices

                  function mergeIntoSlice(text, start, end, index) {
                    var item = index[index.length - 1];
                    var position = item.position;
                    var word = item.word;
                    var hits = [];
                    var searchTextCountInSlice = 0;
                    while (position + word.length <= end && index.length != 0) {
                      if (word === searchText) {
                        searchTextCountInSlice++;
                      }
                      hits.push({position: position, length: word.length});
                      var wordEnd = position + word.length;

                      // move to next position of hit

                      index.pop();
                      while (index.length != 0) {
                        item = index[index.length - 1];
                        position = item.position;
                        word = item.word;
                        if (wordEnd > position) {
                          index.pop();
                        } else {
                          break;
                        }
                      }
                    }
                    searchTextCount += searchTextCountInSlice;
                    return {
                      hits: hits,
                      start: start,
                      end: end,
                      searchTextCount: searchTextCountInSlice
                    };
                  }

                  var slicesOfTitle = [];
                  if (indexOfTitle.length != 0) {
                    slicesOfTitle.push(mergeIntoSlice(title, 0, title.length, indexOfTitle));
                  }

                  var slicesOfContent = [];
                  while (indexOfContent.length != 0) {
                    var item = indexOfContent[indexOfContent.length - 1];
                    var position = item.position;
                    var word = item.word;
                    // cut out 100 characters
                    var start = position - 20;
                    var end = position + 80;
                    if(start < 0){
                      start = 0;
                    }
                    if (end < position + word.length) {
                      end = position + word.length;
                    }
                    if(end > content.length){
                      end = content.length;
                    }
                    slicesOfContent.push(mergeIntoSlice(content, start, end, indexOfContent));
                  }

                  // sort slices in content by search text's count and hits' count

                  slicesOfContent.sort(function (sliceLeft, sliceRight) {
                    if (sliceLeft.searchTextCount !== sliceRight.searchTextCount) {
                      return sliceRight.searchTextCount - sliceLeft.searchTextCount;
                    } else if (sliceLeft.hits.length !== sliceRight.hits.length) {
                      return sliceRight.hits.length - sliceLeft.hits.length;
                    } else {
                      return sliceLeft.start - sliceRight.start;
                    }
                  });

                  // select top N slices in content

                  var upperBound = parseInt('1');
                  if (upperBound >= 0) {
                    slicesOfContent = slicesOfContent.slice(0, upperBound);
                  }

                  // highlight title and content

                  function highlightKeyword(text, slice) {
                    var result = '';
                    var prevEnd = slice.start;
                    slice.hits.forEach(function (hit) {
                      result += text.substring(prevEnd, hit.position);
                      var end = hit.position + hit.length;
                      result += '<b class="search-keyword">' + text.substring(hit.position, end) + '</b>';
                      prevEnd = end;
                    });
                    result += text.substring(prevEnd, slice.end);
                    return result;
                  }

                  var resultItem = '';

                  if (slicesOfTitle.length != 0) {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + highlightKeyword(title, slicesOfTitle[0]) + "</a>";
                  } else {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + title + "</a>";
                  }

                  slicesOfContent.forEach(function (slice) {
                    resultItem += "<a href='" + articleUrl + "'>" +
                      "<p class=\"search-result\">" + highlightKeyword(content, slice) +
                      "...</p>" + "</a>";
                  });

                  resultItem += "</li>";
                  resultItems.push({
                    item: resultItem,
                    searchTextCount: searchTextCount,
                    hitCount: hitCount,
                    id: resultItems.length
                  });
                }
              })
            };
            if (keywords.length === 1 && keywords[0] === "") {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-search fa-5x" /></div>'
            } else if (resultItems.length === 0) {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-frown-o fa-5x" /></div>'
            } else {
              resultItems.sort(function (resultLeft, resultRight) {
                if (resultLeft.searchTextCount !== resultRight.searchTextCount) {
                  return resultRight.searchTextCount - resultLeft.searchTextCount;
                } else if (resultLeft.hitCount !== resultRight.hitCount) {
                  return resultRight.hitCount - resultLeft.hitCount;
                } else {
                  return resultRight.id - resultLeft.id;
                }
              });
              var searchResultList = '<ul class=\"search-result-list\">';
              resultItems.forEach(function (result) {
                searchResultList += result.item;
              })
              searchResultList += "</ul>";
              resultContent.innerHTML = searchResultList;
            }
          }

          if ('auto' === 'auto') {
            input.addEventListener('input', inputEventFunction);
          } else {
            $('.search-icon').click(inputEventFunction);
            input.addEventListener('keypress', function (event) {
              if (event.keyCode === 13) {
                inputEventFunction();
              }
            });
          }

          // remove loading animation
          $(".local-search-pop-overlay").remove();
          $('body').css('overflow', '');

          proceedsearch();
        }
      });
    }

    // handle and trigger popup window;
    $('.popup-trigger').click(function(e) {
      e.stopPropagation();
      if (isfetched === false) {
        searchFunc(path, 'local-search-input', 'local-search-result');
      } else {
        proceedsearch();
      };
    });

    $('.popup-btn-close').click(onPopupClose);
    $('.popup').click(function(e){
      e.stopPropagation();
    });
    $(document).on('keyup', function (event) {
      var shouldDismissSearchPopup = event.which === 27 &&
        $('.search-popup').is(':visible');
      if (shouldDismissSearchPopup) {
        onPopupClose();
      }
    });</script><script src="/js/src/js.cookie.js?v=6.6.0"></script><script src="/js/src/scroll-cookie.js?v=6.6.0"></script><script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({pluginRootPath:"live2dw/",pluginJsPath:"lib/",pluginModelPath:"assets/",model:{scale:1.2,hHeadPos:.5,vHeadPos:.618,jsonPath:"/live2dw/assets/tororo.model.json"},display:{superSample:2,width:150,height:300,position:"right",hOffset:0,vOffset:-20},mobile:{show:!1,scale:.5},react:{opacityDefault:.7,opacityOnHover:.2},log:!1,tagMode:!1})</script></body></html>